<div class='head'>
  <div class='title'>
    »  登录密码
  </div>
  <div class='tools'>
    <%= link_to_remote "▶返回", 
          :update => 'password',
          :url => show_password_user_url(@user),
          :method => :get,
          :html => {
            :class => :h
          } %>
  </div>
</div>
<div>
  <% remote_form_for @user, 
      :update => 'password',
      :url => update_password_user_url(@user),
      :method => :put do |f|
   %>
   <table width="700" cellspacing="4" cellpadding="3" border="0">
     <tbody>
       <tr>
         <td class="t px12">密码</td>
         <td class="px12">
           <%= f.password_field :encrypted_password, :size => 26, :class => :text %>
         </td>              
      </tr>
      <tr>
         <td class="t px12">确认密码</td>
         <td class="px12">
           <%= f.password_field :encrypted_password_confirmation, :size => 26, :class => :text %>
         </td>              
      </tr>        
    </tbody>        
  </table>
  <button class="button positive" type="submit">
    <%= image_tag "users/user.png" %> 修改我的密码     
  </button>
  <% end %>
</div>